package com.zytech.zspider.eventbus.support;

import com.zytech.zspider.eventbus.EventEnvelope;

/**
 * @author siuming
 */
public interface EventOperations {

    /**
     * @param qname
     * @param envelope
     */
    void sendToQueue(String qname, EventEnvelope envelope);

    /**
     * @param tname
     * @param envelope
     */
    void sendToTopic(String tname, EventEnvelope envelope);
}
